# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=neatvnc
pkgver=0.2.0
pkgrel=0
pkgdesc="A liberally licensed VNC server library with a clean interface"
url="https://github.com/any1/neatvnc"
license="ISC"
arch="all"
options="!check" # no test suite
makedepends="meson pixman-dev libuv-dev libdrm-dev zlib-dev aml-dev"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/any1/neatvnc/archive/v$pkgver.tar.gz"

build() {
	abuild-meson . output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="74ff4ec6a492eaeead90b5e5d789885c709e90d50f682ad127f0f364264324ed0e6c66859f4254cbe9b79ebabb20974ceded67d5cab6a5fa8fd1f664ea18b15f  neatvnc-0.2.0.tar.gz"
